<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 86185
  Date: 2021/4/26
  Time: 21:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>教师添加</title>
</head>

<body>
${map.CLASSID}
<center>
    <form action="/class/upd1">
         <input type="hidden" name="classid" value="${map.CLASSID}"><br>
        班级名称 <input type="text" name="classname" value="${map.CLASSNAME}"><br>
        班级状态
        <select name="state">
            <option value="0">毕业</option>
            <option value="1">未毕业</option>
        </select>
        <br>
        班主任
        <select name="headmaster">
            <c:forEach items="${headmaster}" var="h">
                <option value="${h.tid}">${h.tname}</option>
            </c:forEach>
        </select><br>
        教员
        <select name="teacher">
            <c:forEach items="${teacher}" var="t">
                <option value="${t.tid}">${t.tname}</option>
            </c:forEach>
        </select><br>
        <input type="submit" value="提交"><br>
    </form>
</center>
</body>
</html>
